package student.aistar.model.dto;

/**
 * 本类用来演示: 封装条件查询的
 *
 * @author: success
 * @date: 2021/9/1 11:18 上午
 */
public class VideoQueryDTO {
    private Double price;

    private String title;

    public VideoQueryDTO() {
    }

    public VideoQueryDTO(Double price, String title) {
        this.price = price;
        this.title = title;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("VideoQueryDTO{");
        sb.append("price=").append(price);
        sb.append(", title='").append(title).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
